package com.hz.house.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.hz.house.bean.entity.ZhongqiuActivityBean;
import com.hz.house.bean.entity.ZhongqiuActivityHeplerBean;

public interface ZhongqiuActivityMapper {

	
	int joinInActivity(int userId);
	
	
	int helpFriends(@Param("fid")Integer friendId,@Param("hid")Integer helperId);
	
	
	ZhongqiuActivityBean getUserState(@Param("participantId")int participantId);
	
	List<ZhongqiuActivityHeplerBean> getHelperFor3(int userid);
	
	
	List<ZhongqiuActivityHeplerBean> searchHelpers(Map<String,Object> m);
	
	int searchHelpersCounts(Map<String,Object> m);
	
	int getTotalParticipantCount();
	
	int getIHasHelped(@Param("myId")int myid,@Param("hisId")int hisId);
	
	
	int getHelperCount(@Param("helperid")int helperid);
	
}
